/**
 * Created by chesw on 2017/5/18.
 * describe: 图文样式
 */
var graphicStyle = Vue.extend({
    props: ['tab'],
    computed: {
        showShare: function () {
            console.log(this.tab);
            switch(this.tab) {
                case 10:
                case 11: {
                    return false
                }
                default: {
                    return true
                }
            }
        }
    },
    template: '<div class="graphic-style">' +
        '<div class="title-center" v-if="showShare">' +
            '<p class="name">瑞慈诊所首次远程视频门诊圆满成功</p>' +
            '<p class="date">2015/8/10 13:23</p>' +
        '</div>' +
        '<div class="title-left" v-else>' +
            '<p>隐私政策</p>' +
        '</div>' +
        '<div class="gs-content">' +
            '<div class="share" v-if="showShare">分享到：</div>' +
            '<p class="word">瑞慈诊所首次远程诊圆满成功</p>' +
            '<div class="pic">' +
                '<img src="/Styles/image/test12.png">' +
            '</div>' +
        '</div>'+
    '</div>'
});